export default {
    getCounting(state) {
        return state.count;
    },
    isLogged(state) {
        return state.status == 'success';
    },
    isLoading(state) {
        return state.status == 'loading';
    },
    isFailed(state) {
        return state.status == 'failed';
    },
    adminLevel(state) {
        if (state.securityData != null) return Number(state.securityData.adminPIMS);
        return 0;
    }
}